<com:TPanel id="PortletEditMode" Style="border-bottom: 1px solid black; margin: 0px 0px 0px 0px; text-align: right;">
	<com:TImageButton OnClick="MoveButtonClicked" ImageURL="<%=$this->Page->getTheme()->getBaseUrl()%>/images/edit/page_next.gif" Text="<%[Move to another area]%>" />
	<com:TImageButton OnClick="UpButtonClicked" ImageURL="<%=$this->Page->getTheme()->getBaseUrl()%>/images/edit/page_up.gif" Text="<%[Move portlet up]%>" />
	<com:TImageButton OnClick="DownButtonClicked" ImageURL="<%=$this->Page->getTheme()->getBaseUrl()%>/images/edit/page_down.gif" Text="<%[Move portlet down]%>" />
	<com:TImageButton OnClick="PropertyButtonClicked" ImageURL="<%=$this->Page->getTheme()->getBaseUrl()%>/images/edit/application_form.png" Text="<%[Properties]%>" />
	<com:TImageButton OnClick="DeleteButtonClicked" ImageURL="<%=$this->Page->getTheme()->getBaseUrl()%>/images/edit/application_delete.png" Text="<%[Remove portlet]%>" Attributes.onclick="if(!confirm('<%= Prado::localize('Are you sure?') %>')) return false;" />
</com:TPanel>
<com:TPanel id="EditContent" DefaultButton="SaveContent">
	<table width="100%">
		<tr>
			<td><com:TLabel ForControl="Theme" Text="<%[Theme]%>" />
				<com:TDropDownList Id="Theme" DataTextField="text" DataValueField="value" PromptText="<%[Select]%>" PromptValue="-1" />
				<com:TRequiredFieldValidator InitialValue="-1" ControlToValidate="Theme" Display="Dynamic" Text="*" ErrorMessage="<%[You need to select a template.]%>" ControlCssClass="input-error1" />
			</td>
			<td>
				<com:TLabel ForControl="Orientation" Text="<%[Orientation]%>" />
				<com:TDropDownList Id="Orientation" DataTextField="text" DataValueField="value" PromptText="<%[Select]%>" PromptValue="-1" />
			</td>
			<td>
				<com:TLabel ForControl="ddlSiteMenu" Text="<%[Site menu]%>" />
				<com:TDropDownList Id="ddlSiteMenu" DataTextField="name" DataValueField="id" PromptText="<%[Select]%>" PromptValue="-1" />
				<com:TRequiredFieldValidator InitialValue="-1" ControlToValidate="ddlSiteMenu" Display="Dynamic" Text="*" ErrorMessage="<%[You need to select a menu.]%>" ControlCssClass="input-error1" />
			</td>
			<td>
				<com:TLinkButton Id="SaveContent" Text="<%[Save]%>" CssClass="link-button" OnClick="SaveContent" />
				&nbsp;
				<com:TLinkButton ID="CancelContent" Text="<%[Cancel]%>" CssClass="link-button" OnClick="CancelContent" />
			</td>
		</tr>
	</table>
</com:TPanel>